﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Com.Framework.Data;

namespace Com.Library.DB.Menu
{
    public class RecommendMenuEntity : DataEntity
    {
        public int SeqNo { get { return Convert.ToInt32(GetData("n4SeqNo", (int)0)); } }
        public byte CategoryNo { get { return Convert.ToByte(GetData("n1CategoryNo", (byte)0)); } }
        public string ImageURL { get { return Convert.ToString(GetData("strImageURL", string.Empty)); } }
        public string Link { get { return Convert.ToString(GetData("strLink", string.Empty)); } }
        public byte LinkType { get { return Convert.ToByte(GetData("n1LinkType", (byte)0)); } }
        public string Description { get { return Convert.ToString(GetData("strDescription", string.Empty)); } }
        public DateTime CreateDate { get { return Convert.ToDateTime(GetData("dtCreateDate", DateTime.MinValue)); } }
        public string ManagerName { get { return Convert.ToString(GetData("strManagerName", string.Empty)); } }
    }
}